import request from '@/utils/request';

export async function getS210motorByPage(params: any) {
  return request('/api/drivepara/getS210motorByPage', {
    method: 'POST',
    data: params,
  });
}

export async function addS210motor(params: any) {
  return request('/api/drivepara/addS210motor', {
    method: 'POST',
    data: params,
  });
}

export async function delS210motor(params: any) {
  return request('/api/drivepara/delS210motor', {
    method: 'POST',
    data: params,
  });
}


export async function updateS210motor(params: any) {
  return request('/api/drivepara/updateS210motor', {
    method: 'POST',
    data: params,
  });
}